home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-07-28 | 992 b | 53 lines | [TEXT/MPS ] |
- /*
- File: CReport.h
-
- Contains: xxx put contents here xxx
-
- Written by: Tim Harnett
-
- Copyright: © 1994 by Apple Computer, Inc., all rights reserved.
-
- Change History (most recent first):
-
- <1> 12/12/94 TMH seperated for MailHandler.cp
- 12/5/94 TMH xxx put comment here xxx
-
- To Do:
- */
-
-
- //••• CAUTION : make sure the destructor is called or submit is called
-
- #ifndef __CReport__
- #define __CReport__
-
- #ifndef __CRecipientIterator__
- #include "CRecipientIterator.h"
- #endif
-
-
- //----------------------------
- // C R e p o r t
- //----------------------------
-
- //--------------------------------------------------------------------------
- class CReport {
- public:
- CReport(MailMsgRef msgRef,MailLetterID letterID);
- ~CReport();
- OSErr Create();
- OSErr PutRecipientReport(OSErr reportErr,ResolvedRecipient* recipient);
- OSErr Submit(Boolean submit=true);
-
- private:
- MailLetterID fLetterID;
- MailMsgRef fMsgRef;
-
- MailMsgRef fReportRef;
- MSAMParam fPB;
-
- };
-
-
- #endif __CReport__
-